-- GENERATED SPELL FOR [Skettis Kaliri] --


function spell0_21804(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(5708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21804', 2254, 1)
end

function Sorts_21804(pUnit, Event)
local choix_sorts_21804 = math.random(0, 0)
if choix_sorts_21804 == 0 then
pUnit:RegisterEvent('spell0_21804', 1, 1)
end
end

function mob21804_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21804', math.random(1500, 3000), 1)
end

function mob21804_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21804_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21804_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21804, 1, 'mob21804_Action')
RegisterUnitEvent(21804, 2, 'mob21804_Leave')
RegisterUnitEvent(21804, 3, 'mob21804_Kill')
RegisterUnitEvent(21804, 4, 'mob21804_Die')
